<?php 
 
namespace app\common\model;

use app\common\model\BaseModel;
use app\common\traits\ModelTrait;
use app\common\utils\JsonService;
/**
* This is the model class for table "{ptf_config}".
*
* @property int $id 表id 
* @property string $name 配置的key键名
* @property string $value 配置的val值
* @property string $inc_type 配置分组
* @property string $desc 描述
*/
class Config extends BaseModel{

    protected $pk = 'id';
    protected $name = 'config';

    use ModelTrait;
    protected $autoWriteTimestamp = true;
    //protected $dateFormat = 'Y-m-d';
    //protected $createTime = 'create_time';
    //protected $updateTime = 'update_time';

    /**
    * {@inheritdoc}
    */
    public function attributeLabels()
    {
        return [
            'id' => '表id',
            'name' => '配置的key键名',
            'value' => '配置的val值',
            'inc_type' => '配置分组',
            'desc' => '描述',
        ];
    }

}


?>